/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package communicator.message;

/**
 * Thong diep gui suspended tail di den track tren may khac
 * @author Tue
 */
public class MsgTail extends Message{
    private String tail; //String chua tail can gui di
    private String fromTrackAddress;//Dia chi track gui echo
    private String toTrackAddress; //Dia chi cua track se nhan echo
    private boolean keep; //Co xoa track gui tail sau khi gui di hay khong

    public MsgTail(String tail, String toTrackAddress, boolean keep) {
        this.tail = tail;
        this.toTrackAddress = toTrackAddress;
        this.keep = keep;
    }

    public boolean isKeep() {
        return keep;
    }

    public String getTail() {
        return tail;
    }

    public String getToTrackAddress() {
        return toTrackAddress;
    }
    
}
